<!--
 * @Author: your name
 * @Date: 2020-08-18 18:36:45
 * @LastEditTime: 2020-08-18 18:38:52
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue_plugins\src\views\tree\components\tree-folder.vue
-->
<template>
<div>
<p>
  <span>{{ folder.name }}</span>
  <tree-folder-contents :children="folder.children"/>
</p>
</div>
</template>

<script>
export default {
    props:{
        folder:Object,
        default:()=>{
            return {
                children:[]
            }
        }
    },
    components: {
        TreeFolderContents: () => import('./tree-folder-contents.vue')
    }
}
</script>

<style lang="less" scoped>

</style>